{extends file="./main.tpl"}
{block name="body"}
<form name="loanForm" id="loanForm" action="{$smarty.server.PHP_SELF}" method="post" enctype="multipart/form-data" onsubmit="return confirm('DO You Want To Submit !!!!!')";>
<table cellpadding="2" cellspacing="0" border="" align="center">
  <tr>
    <td colspan="2" style="background:#EBF5FF;">
  	  <input type="hidden" name="accountIdOld">
      <h1 align="center"><font size="5px">Party Entry</font></h1>
    </td>
  </tr>
  <tr class="loanFont">
		<br>
    <th align="right" nowrap >Party Name : &nbsp</th>
    <td>&nbsp<input type="text" name="accountName" size="24" required /></td>
  </tr>
  <tr class="loanFont">
		<br>
    <th align="right" nowrap >Party Code : &nbsp</th>
    <td>&nbsp<input type="text" required=required  name="partyCode" size="24"></td>
  </tr>
  <tr class="loanFont">
    <th align="right" valign="top">Address : &nbsp</th>
    <td>&nbsp<textarea cols="19" id="address"  name="address" rows="6" ></textarea></td>
  </tr>
  <tr class="loanFont">
    <th align="right">Mobile : &nbsp</th>
    <td>&nbsp<input type="text" name="mobile" id="mobile"></td>
  </tr>
  <tr class="loanFont">
    <th align="right" valign="top" nowrap >Party Image : &nbsp</th>
    <td>
      <input type="file" name="photo" id="file" >
    </td>
  </tr>
  <tr class="loanFont">
    <th align="right"  valign="top" nowrap >Other Information : &nbsp</th>
    <td>
      &nbsp<textarea cols="19" id="otherInfo" name="otherInfo" rows="6"></textarea>  	
    </td>
  </tr>
  <tr>
  	<td colspan="2"><input type="submit" value="Submit" name="submit"></td>
  </tr>
</table>
</form>
{/block}